From: Claudio Cambra Date: Thu, 27 Feb 2025 07:05:18 +0000 (+0800) Subject: gui/tray: Use standard native buttons for bottom buttons in user status selector... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~11^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=d7e0923227edbe496cadbd784ecb5adfb8fde7b8;p=nextcloud-desktop.git gui/tray: Use standard native buttons for bottom buttons in user status selector page Signed-off-by: Claudio Cambra --- diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml index 15abf6595..207c5206d 100644 --- a/src/gui/UserStatusSelector.qml +++ b/src/gui/UserStatusSelector.qml @@ -321,26 +321,22 @@ ColumnLayout { Layout.fillWidth: true Layout.alignment: Qt.AlignBottom - UserStatusSelectorButton { + Button { // Prevent being squashed by the other buttons with larger text Layout.minimumWidth: implicitWidth Layout.fillHeight: true - primary: true text: qsTr("Cancel") onClicked: finished() } - UserStatusSelectorButton { + Button { Layout.fillWidth: true Layout.fillHeight: true - primary: true text: qsTr("Clear status message") onClicked: userStatusSelectorModel.clearUserStatus() } - UserStatusSelectorButton { + Button { Layout.fillWidth: true Layout.fillHeight: true - primary: true - colored: true focusPolicy: Qt.StrongFocus text: qsTr("Set status message") onClicked: userStatusSelectorModel.setUserStatus()